//
//  AvnString.h
//  Avalonia.Native.OSX
//
//  Created by Dan Walmsley on 07/11/2018.
//  Copyright © 2018 Avalonia. All rights reserved.
//

#ifndef AvnString_h
#define AvnString_h

extern IAvnString* CreateAvnString(NSString* string);
extern IAvnStringArray* CreateAvnStringArray(NSArray<NSString*>* array);
extern IAvnStringArray* CreateAvnStringArray(NSArray<NSURL*>* array);
extern IAvnStringArray* CreateAvnStringArray(NSString* string);
extern IAvnString* CreateByteArray(void* data, int len);
extern NSString* GetNSStringAndRelease(IAvnString* s);
extern NSString* GetNSStringWithoutRelease(IAvnString* s);
extern NSArray<NSString*>* GetNSArrayOfStringsAndRelease(IAvnStringArray* array);
#endif /* AvnString_h */
